<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
		<meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
		<title>支付的底部菜单栏</title>
		<link rel="stylesheet" type="text/css" href="../../css/base.css">
		<link rel="stylesheet" type="text/css" href="../../css/api.css"/>
		<style>
			html, body {
				width: 100%;
				height: 100%;
				background: #FFFFFF;
				margin: 0px;
			}
			p {
				display: block;
				-webkit-margin-before: 0em;
				-webkit-margin-after: 0em;
				-webkit-margin-start: 0px;
				-webkit-margin-end: 0px;
			}
			li {
				list-style-type: none;
				/*height: 51px;*/
				width: 100%;
			}
			ul, menu, dir {
				display: block;
				list-style-type: disc;
				-webkit-margin-before: 0em;
				-webkit-margin-after: 0em;
				-webkit-margin-start: 0px;
				-webkit-margin-end: 0px;
				-webkit-padding-start: 0px;
			}
			.order_title {
				width: 100%;
				height: 44px;
				display: -webkit-box;
				background: #FFFFFF;
			}
			.title_back {
				width: 60px;
			}
			.title_back img {
				width: 12px;
				height: 15px;
				padding: 11px;
			}
			.title_p {
				-webkit-box-flex: 1;
				line-height: 44px;
				text-align: -webkit-center;
				margin-right: 60px;
			}
			.title_p p {
				color: #4D4D4D;
				font-size: 18px;
			}
			.affrim_list {
				width: 100%;
				height: 50px;
				display: -webkit-box;
			}
			.affrim_bottom {
				width: 100%;
				height: 120px;
				position: absolute;
				bottom: 0px;
			}
			.butom {
				margin-bottom: 30px;
				margin-top: 30px;
				margin: 10px auto;
				width: 90%;
				border-radius: 10px;
				padding: 8px 0;
				font-size: 18px;
				display: block;
				color: #fff;
				border: 1px solid #f0ad4e;
				background-color: #f0ad4e;
			}
			.left_img {
				width: 120px;
				text-align: -webkit-left;
			}
			.left_img img {
				width: 30px;
				height: 30px;
				padding-top: 10px;
				padding-left: 10px;
			}
			.right_img {
				width: 120px;
				text-align: -webkit-right;
			}
			.right_img img {
				padding-top: 20px;
				padding-right: 15px;
			}
		</style>
	</head>
	<body>
		<div class="order_title">
			<div class="title_back" onclick="close_fram()">
				<img src="../../icon/icon_zfx.png" />
			</div>
			<div class="title_p">
				<p>
					付款
				</p>
			</div>
		</div>
		<div class="div_divider"></div>
		<ul>
			<li>
				<div class="affrim_list">
					<div class="left_img">
						<img src="../../icon/icon_zfb.png" />
					</div>
					<div style="-webkit-box-flex:1;"></div>
					<div class="right_img">
						<img  src="../../icon/icon_duigou.png" />
					</div>
				</div>
				<div class="div_divider"></div>
			</li>
			<!--<li>
			<div class="affrim_list">
			<div class="left_img">
			<img src="../../icon/icon_wx.png" />
			</div>
			<div style="-webkit-box-flex:1;"></div>
			<div style="width: 120px;"></div>
			</div>
			<div style="display:-webkit-box;width: 100%;height: 1px;">
			<div style="width: 10px"></div>
			<div style="-webkit-box-flex:1;background: #d9d9d9"></div>
			<div style="width: 10px;"></div>
			</div>
			</li>-->
		</ul>
		<div class="affrim_bottom">
			<div style="width: 100%;height: 30px;line-height: 30px;text-align: -webkit-center;">
				<p>
					支付&nbsp;<span style="color: red" id="money_id">￥0</span>
				</p>
			</div>
			<button id="sumbit_bt" type="button" class="butom" onclick="onclickpayManery()">
				去付款
			</button>
		</div>
	</body>
	<script type="text/javascript" src="../../script/api.js"></script>
	<script type="text/javascript" src="../../script/MD5.js"></script>
	<script src="../../script/jquery.min.js" type="text/javascript"></script>
	<script type="text/javascript" src="../../script/requestTool.js"></script>
	<script type="text/javascript" src="../../script/common.js"></script>
		<script type="text/javascript" src="../../script/PayTreasurePay.js"></script>
	<script type="text/javascript">
		apiready = function() {
			$('#money_id').html("￥" + $api.getStorage("pay_money"));
		};
		//付款
		function onclickpayManery(){
			console.log("支付参数:"+$api.getStorage("job_subtype"));
			getOrderNumber(6,$api.getStorage("jobs_id"),$api.getStorage("job_subtype"))
		}
		function close_fram() {
			api.sendEvent({
				name : 'close_frame'
			});
			api.closeFrame({
			});
		}


	</script>
</html>